Skip to content

Conversation

@kotaro0522
Copy link
Contributor

zod-mock can override string mocks with the stringMap option.
However, this doesn't work when the validation has regex (e.g. z.string().regex(/^\+[1-9]\d{1,14}$/)) since the regexCheck logic is placed before the stringMap logic.
This PR will fix the issue.

@nx-cloud
Copy link

nx-cloud bot commented Aug 15, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 6b01c57. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 2 targets

Sent with 💌 from NxCloud.

@Brian-McBride Brian-McBride merged commit 5ffa0a0 into anatine:main Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants